<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form:form modelAttribute="efwBusinessModuleMap">

<div class="widget" style="border-radius: 2px 2px 2px 2px;border:1px solid #d5d5d5;border-top:none; margin-top:10px;margin-bottom:10px;">
<div class="head"><h5 class="iDropper"><c:if test="${efwBusinessModuleMap.id == null}">新增业务模块权限</c:if><c:if test="${efwBusinessModuleMap.id != null}">修改业务模块权限</c:if></h5>
</div>
<table border="0" width="98%" cellpadding="5" cellspacing="5" >
	<tr>
		<td align="right" width="20%"><span class="redmark">*</span>业务模块权限名称：</td>
		<td align="left" width="80%"><form:input path="name" size="30"  /><form:errors path="name" cssClass="errors"/></td>
	</tr>
	<tr>
		<td align="right" width="20%"><span class="redmark">*</span>业务模块：</td>
		<td align="left" width="80%">
				<select name="efwBusinessModule" id="efwBusinessModule">
					<option value="">--请选择--</option>
					<c:forEach var="businessModule" items="${baseBusinessModuleList}">
						<option value="${businessModule.id}"
							<c:if test="${businessModule.id == efwBusinessModuleMap.efwBusinessModule.id}"> selected</c:if>>${businessModule.name}</option>
					</c:forEach>
				</select><form:errors path="efwBusinessModule" cssClass="errors"/>
		</td>
	</tr>
	<tr>
		<td align="right" width="20%"><span class="redmark">*</span>权限实体：</td>
		<td align="left" width="80%">
				<select name="efwSourceEntity" id="efwSourceEntity">
					<option value="">--请选择--</option>
					<c:forEach var="sourceEntity" items="${sourceEntityList}">
						<option value="${sourceEntity.id}"
							<c:if test="${sourceEntity.id == efwBusinessModuleMap.efwSourceEntity.id}"> selected</c:if>>${sourceEntity.entityName}</option>
					</c:forEach>
				</select><form:errors path="efwSourceEntity" cssClass="errors"/>
		</td>
	</tr>
</table>
</div>
</form:form>
